package com.sc.nft.service;

import com.sc.nft.entity.UserInfo;
import com.sc.nft.entity.dto.ApplicationRequirementAddDTO;
import com.sc.nft.entity.dto.ApplicationRequirementUpdateDTO;
import com.sc.nft.entity.vo.ApplicationRequirementAdminExotheciumVO;
import com.sc.nft.entity.vo.ApplicationRequirementSelectListVO;
import com.sc.nft.entity.vo.WebApplicationRequirementVO;

import java.util.List;

/**
 * (ApplicationRequirement)表服务接口
 *
 * @author wwc
 * @since 2023-07-18 16:27:29
 */
public interface ApplicationRequirementService {

    /**
     * 新增
     *
     * @param applicationRequirementAddDTO
     */
    void add(List<ApplicationRequirementAddDTO> applicationRequirementAddDTO);

    /**
     * 修改
     *
     * @param applicationRequirementAddDTO
     */
    void updates(List<ApplicationRequirementUpdateDTO> applicationRequirementAddDTO);

    /**
     * 查询列表
     * @param serveType
     * @return
     */
    List<ApplicationRequirementAdminExotheciumVO> selectList(Integer serveType);

    /**
     *
     * @param type
     * @return
     */
    WebApplicationRequirementVO webApplicationRequirementVo(Integer type);
    /**
     * 通过user对象和类型,来获取用户的申请信息
     * @param userInfo
     * @param type
     * @return
     */
    WebApplicationRequirementVO webApplicationRequirementUserVO(UserInfo userInfo, Integer type);




}
